package com.freedom.service.core;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.freedom.bean.core.SysMenu;
import com.freedom.sys.UserUtils;

/**
 * 菜单service
 * @author HGJ
 *
 */
@Transactional
@Service
public class SysMenuService {

	/**
	 * 4.根据角色菜单的权限集合中取出菜单的ids作为条件查询当前角色的菜单列表数据
	 * @return
	 */
	public List<SysMenu> getSysMenus(){
		return UserUtils.getSysMenus();
	}
}
